<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="active"><a href="#t-one"  data-toggle="tab">基本配置</a></li>
            <li class=""><a href="#t-two"  data-toggle="tab">认证配置</a></li>
<!--            <li class=""><a href="#t-three"  data-toggle="tab">客户设置</a></li>-->
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="t-one">
                <form id="edit-form1" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('apply/confg/edit')}">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Near_hour')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <div class="input-group">
                                <input id="c-near_hour" class="form-control" name="row[near_hour]" type="number" value="{$row.near_hour|htmlentities}" oninput="value=value.replace(/^0| [^0-9]/g, '')">
                                <div class="input-group-addon">小时</div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Refurbish_integral')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <input id="c-refurbish_integral" class="form-control" name="row[refurbish_integral]" type="number" value="{$row.refurbish_integral|htmlentities}">
                        </div>
                    </div>
                    <!--2023-6-28 lina 新增 start-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Bottom_data')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <div class="radio">
                                {foreach name="bottomDataList" item="vo"}
                                <label for="row[bottom_data]-{$key}"><input id="row[bottom_data]-{$key}" name="row[bottom_data]" type="radio" value="{$key}" {in name="key" value="$row.bottom_data"}checked{/in} /> {$vo}</label>
                                {/foreach}
                             </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Product_num')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <input id="c-product_num" class="form-control" min="0" data-rule="range(0~)" name="row[product_num]" type="number" value="{$row.product_num|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Member_num')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <input id="c-member_num" class="form-control" min="0" data-rule="range(0~)" name="row[member_num]" type="number" value="{$row.member_num|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Login_num')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <input id="c-login_num" class="form-control" min="0" data-rule="range(0~)" name="row[login_num]" type="number" value="{$row.login_num|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Integral_data')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <div class="radio">
                                {foreach name="integralDataList" item="vo"}
                                <label for="row[integral_data]-{$key}"><input id="row[integral_data]-{$key}" name="row[integral_data]" type="radio" value="{$key}" {in name="key" value="$row.integral_data"}checked{/in} /> {$vo}</label>
                                {/foreach}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('New_integral')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <input id="c-new_integral" class="form-control" min="0" data-rule="range(0~)" name="row[new_integral]" type="number" value="{$row.new_integral|htmlentities}">
                        </div>
                    </div>
                    <!--2023-6-28 lina 新增 end-->
                    <div class="form-group layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="tab-pane fade" id="t-two">
                <form id="edit-form2" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('apply/confg/edit')}">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Nursery_certificat')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <div class="input-group">
                                <input id="c-nursery_certificat" class="form-control" name="row[nursery_certificat]" type="number" value="{$row.nursery_certificat|htmlentities}">
                                <div class="input-group-addon">元</div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Real_integral')}:</label>
                        <div class="col-xs-12 col-sm-4">
                            <input id="c-real_integral" class="form-control" name="row[real_integral]" type="number" value="{$row.real_integral|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="tab-pane fade" id="t-three">
                <form id="edit-form3" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('apply/confg/edit')}">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Customer_phone')}:</label>
                        <div class="col-xs-12 col-sm-6">
                            <input id="c-customer_phone" class="form-control" name="row[customer_phone]" type="number" value="{$row.customer_phone|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Customer_remarks')}:</label>
                        <div class="col-xs-12 col-sm-6">
                             <textarea  id="c-customer_remarks" class="form-control editor" name="row[customer_remarks]" cols="30" rows="5">{$row.customer_remarks|htmlentities}</textarea>
                        </div>
                    </div>
                    <div class="form-group layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>
            </div>

        </div>
    </div>
</div>
